import VueRouter from 'vue-router'

import home from './components/tabbar/home.vue'
import explore from './components/tabbar/explore.vue'
import message from './components/tabbar/message.vue'
import personal from './components/tabbar/personal.vue'
import edit from './components/page/edit.vue'
import mine from './components/mine/index.vue'
import login from './components/Login/index.vue'
import register from './components/Register/index.vue'

var router=new VueRouter({
	routes:[
		{path:'/1',component:home},
		{path:'/2',component:explore},
		{path:'/3',component:message},
		{path:'/4',component:personal},
		{path:'/edit',component:edit},
		{path:'/mine',component:mine},
		{path:'/login',component:login},
		{path:'/register',component:register},
	],
	linkActiveClass:'mui-active'
})
export default router